import { createDiscreteApi } from 'naive-ui'
import type { DialogApiInjection } from 'naive-ui/es/dialog/src/DialogProvider'
import type { MessageApiInjection } from 'naive-ui/es/message/src/MessageProvider'

export const { message } = createDiscreteApi(['message'])
export const { dialog } = createDiscreteApi(['dialog'])
